﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using SimpleServiceBus.Persistence.Domain.Management.Entities;

namespace SimpleServiceBus.Persistence.Domain.Management.Repositories
{
    public interface IEndpointPerformanceSummaryRepository
    {
        IList<EndpointPerformanceSummary> FindByEndpoint(ManagedEndpoint endpoint,int? maxResults, DateTime? startTime, DateTime? endTime);
        IList<EndpointPerformanceSummary> FindByEndpoint(ManagedEndpoint endpoint, string metricName, DateTime? startTime, DateTime? endTime);
        string[] GetMetricTypesForEndpoint(ManagedEndpoint endpoint);
    }
}
